import LoginPage from "../Pages/LoginPage.vue"
import IndexPage from "../Pages/IndexPage.vue"
import jifen from "../Pages/jifen.vue"
import dandian from "../Pages/dandian.vue"
import taocan from "../Pages/taocan.vue"
import index from "../Pages/index.vue"
import alldandian from "../Pages/dandian/alldandian.vue"
import allshangjia from "../Pages/dandian/allshangjia.vue"
import allweishangjia from "../Pages/dandian/allweishangjia.vue"
import xinzengdandian from "../Pages/dandian/xinzengdandian.vue"
import shangjiadandian from "../Pages/dandian/shangjiadandian.vue"
import xiajiadandian from "../Pages/dandian/xiajiadandian.vue"
import alltaocan from "../Pages/taocan/alltaocan.vue"
import allshangjiataocan from "../Pages/taocan/allshangjiataocan.vue"
import allweishangjiataocan from "../Pages/taocan/allweishangjiataocan.vue"
import shangjiataocan from "../Pages/taocan/shangjiataocan.vue"
import xiajiataocan from "../Pages/taocan/xiajiataocan.vue"
import xinzengtaocan from "../Pages/taocan/xinzengtaocan.vue"
import allyuekahuiyuan from "../Pages/qishou/allyuekahuiyuan.vue"
import allzhoukahuiyuan from "../Pages/qishou/allzhoukahuiyuan.vue"
import songdadingdan from "../Pages/qishou/songdadingdan.vue"
import allpeisonghuiyuan from "../Pages/qishou/allpeisonghuiyuan.vue"
import songdahuiyuan from "../Pages/qishou/songdahuiyuan.vue"
import alljiedan from "../Pages/qishou/alljiedan.vue"
import allquxiao from "../Pages/qishou/allquxiao.vue"
import allyisongda from "../Pages/qishou/allyisongda.vue"
import allyijieshou from "../Pages/qishou/allyijieshou.vue"
import tupian from "../Pages/tupian/tupian.vue"
import chakanjifenshangpin from "../Pages/jifen/chakanjifenshangpin.vue"

const routes = [
    {
        path: '/', component: IndexPage, children: [
            {path: 'alldandian', component: alldandian}, // 单点管理内容
            {path: 'allshangjia', component: allshangjia},   // 套餐管理内容
            {path: 'allweishangjia', component: allweishangjia},     // 积分管理内容
            {path: 'shangjiadandian', component: shangjiadandian},     // 积分管理内容
            {path: 'xiajiadandian', component: xiajiadandian},     // 积分管理内容
            {path: 'alltaocan', component: alltaocan}, // 单点管理内容
            {path: 'allshangjiataocan', component: allshangjiataocan},   // 套餐管理内容
            {path: 'allweishangjiataocan', component: allweishangjiataocan},     // 积分管理内容
            {path: 'shangjiataocan', component: shangjiataocan},     // 积分管理内容
            {path: 'xiajiataocan', component: xiajiataocan},     // 积分管理内容
            {path: 'tupian', component: tupian},     // 积分管理内容
            {path: 'xinzengtaocan', component: xinzengtaocan},     // 积分管理内容
            {path: 'xinzengdandian', component: xinzengdandian},     // 积分管理内容
            {path: 'taocan', component: taocan},     // 积分管理内容
            {path: 'chakanjifenshangpin', component: chakanjifenshangpin},     // 积分管理内容
            {path: 'allyuekahuiyuan', component: allyuekahuiyuan},     // 积分管理内容
            {path: 'allzhoukahuiyuan', component: allzhoukahuiyuan},     // 积分管理内容
            {path: 'allpeisonghuiyuan', component: allpeisonghuiyuan},     // 积分管理内容
            {path: 'songdahuiyuan', component: songdahuiyuan},     // 积分管理内容
            {path: 'alljiedan', component: alljiedan},     // 积分管理内容
            {path: 'allquxiao', component: allquxiao},     // 积分管理内容
            {path: 'allyisongda', component: allyisongda},     // 积分管理内容
            {path: 'allyijieshou', component: allyijieshou},     // 积分管理内容
            {path: 'songdadingdan', component: songdadingdan},     // 积分管理内容
        ], meta: {showTabBar: true}
    },
    {path: '/login', component: LoginPage, meta: {showTabBar: true}},


];

export default routes;
